package com.chhh.cranelease.controller.financialmanagement;

import com.chhh.cranelease.entity.FinaceIn;
import com.chhh.cranelease.service.FinancialManagementService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("finace/")
public class FinaceInController {

    @Autowired
    private FinancialManagementService financialManagementService;

    @RequestMapping("finacein")
    public List<FinaceIn> finaceIn(){
        return financialManagementService.finaceIn();
    }

}
